import {
  get,
  post,
  put,
  del,
  baseUrl
} from "../../api/request"
//登录
export const Apilogin = (params) => post("/api/doctor/login", params)



//修改用户基本信息
export const ApiChangeUserInfo = (id) => post("/api/doctor/changeUserInfo/" + id)


//查询用户订单
export const ApiOrderList = (params) => get("/api/doctor/order/orderList", params)

//订单评价列表
export const ApiorderDoctorComment = (params) => post("/api/doctor/order/orderDoctorComment", params)


//保存用户信息
export const ApiEditUserInfo = (id, params) => post("/api/doctor/changeUserInfo/" + id, params)

//修改密码
export const ApiChangePassword = (params) => post("/api/doctor/changePassword", params)
/* localhost:91/api/doctor/order/orderList?status=进行中 */


//查看评价订单
export const ApiSearchComment = (id) => get("/api/doctor/order/orderCommentList/" + id)


//状态变更
export const ApiChangeOrderStatus = (query) => post("/api/doctor/order/changeOrderStatus", query)

//订单反馈
export const ApiFeedbackList = (id) => get("/api/doctor/order/feedbackList/" + id)

//保存反馈

export const ApiAddFeedback = (data) => post("/api/doctor/order/feedback", data)


//保存健康状态
export const ApiOrderComplete = (data) => post("/api/doctor/order/orderComplete", data)


//我的延期申请列表
export const ApiOrderDelayList = () => get("/api/doctor/order/orderDelayList")



//资质申请列表

export const ApiQualificationList = () => get("/api/doctor/qualificationList")
//添加资质申请
export const ApiAddQualification = (data) => post("/api/doctor/qualificationApply", data)

//查询可接单申请列表
export const ApiMySkill = () => get("/api/doctor/mySkill")
/* api/doctor/mySkill */

//项目申请
export const ApiSkillApply = (data) => post("/api/doctor/skillApply", data)

//取消订单
export const ApiCancelOrder = (data) => post("/api/doctor/order/cancelOrder", data)

//护理人员评价
export const ApiCommentList = (id) => get("/api/doctor/order/commentList/"+id)

//获取影响报告
export const ApiGetImageReportList = (id) => get("/api/user/order/getImageReportList",id)


//获取化验报告
export const ApiGetReportList = (id) => get("/api/user/order/getReportList",id)


//获取化验报告详情
export const ApiGetExamineReportDetail = (id) => get("/api/user/order/getExamineReportDetail",id)









//获取影响报告
export const ApiDoctorImageReportList = (id) => get("/api/doctor/order/getImageReportList",id)


//获取化验报告
export const ApiDoctorReportList = (id) => get("/api/doctor/order/getReportList",id)


//获取化验报告详情
export const ApiDoctorExamineReportDetail = (id) => get("/api/doctor/order/getExamineReportDetail",id)



//送药接单
export const ApiDoctorExtendOrder = (data) => post("/api/doctor/order/extendOrder",data)

//取消补充订单
export const ApiCancelExtendOrder = (id) => post("/api/doctor/order/cancelExtendOrder/"+id)



